package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysAboutGroupMapper;
import com.ruoyi.system.domain.SysAboutGroup;
import com.ruoyi.system.service.ISysAboutGroupService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
@Service
public class SysAboutGroupServiceImpl implements ISysAboutGroupService 
{
    @Autowired
    private SysAboutGroupMapper sysAboutGroupMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public SysAboutGroup selectSysAboutGroupById(Long id)
    {
        return sysAboutGroupMapper.selectSysAboutGroupById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param sysAboutGroup 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<SysAboutGroup> selectSysAboutGroupList(SysAboutGroup sysAboutGroup)
    {
        return sysAboutGroupMapper.selectSysAboutGroupList(sysAboutGroup);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param sysAboutGroup 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertSysAboutGroup(SysAboutGroup sysAboutGroup)
    {
        return sysAboutGroupMapper.insertSysAboutGroup(sysAboutGroup);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param sysAboutGroup 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateSysAboutGroup(SysAboutGroup sysAboutGroup)
    {
        return sysAboutGroupMapper.updateSysAboutGroup(sysAboutGroup);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSysAboutGroupByIds(String ids)
    {
        return sysAboutGroupMapper.deleteSysAboutGroupByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSysAboutGroupById(Long id)
    {
        return sysAboutGroupMapper.deleteSysAboutGroupById(id);
    }
}
